from django.urls import path
from . import views

urlpatterns = [
    path('', views.index_view, name='index'),
    path('login/', views.LoginView.as_view(), name='login'),
    path('register/student/', views.StudentRegistrationView.as_view(), name='register_student'),
    path('register/teacher/', views.TeacherRegistrationView.as_view(), name='register_teacher'),
    path('logout/', views.logout_view, name='logout'),
    path('profile/', views.ProfileView.as_view(), name='profile'),
] 